package model

const Gitee_client_id = "3fb3d847acaa9bdb214ad6eb1435661136b92f43e1924bcce743a04b6d6a9b2f"
const Gitee_client_secret = "1dcc2f277aada73cfd3aa9809c47346c3fb87ab69fabc623a83e997fbfaa3744"
const Gitee_url = "http://127.0.0.1:8081/oauth/gitee"
const Github_client_id = "8fa79c723e208011c3ea"
const Github_client_secret = "a4ca34fe0916ed2882241cd7c6946d7bec3c0978"

type Token struct {
	AccessToken   string      `json:"access_token"` //唯一有用，所以只传了这个
	Token_type    string      `json:"token_type"`
	Expires_in    interface{} `json:"expires_in"`
	Refresh_token string      `json:"refresh_token"`
	Scope         string      `json:"scope"`
	Created_at    string      `json:"created_at"`
}

type JsonData struct {
	Id    int    `json:"id"`
	Login string `json:"login"`
}
